<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>其乐吧</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript">
	function validate()
	{
		if(document.vip_register.accounts.value.length < 1)
		{
			alert("登录账号不能为空！");
			return false;
		}
		if(document.vip_register.password.value.length < 1)
		{
			alert("登录密码不能为空！");
			return false;
		}
		if(document.vip_register.password.value != document.vip_register.password.value)
		{
			alert("确认密码输入错误！");
			return false;
		}
		if(document.vip_register.name.value.length < 2 || document.vip_register.name.value.length > 4)
		{
			alert("真实姓名输入不正确！");
			return false;
		}
		if(document.vip_register.email.value.indexOf== -1 || document.vip_register.email.value.indexOf(".") == -1)
		{
			alert("电子邮箱输入不正确！");
			return false;
		}
		if(document.vip_register.mobile.value.length < 8 || document.vip_register.mobile.value.length > 12)
		{
			alert("联系电话输入不正确！");
			return false;
		}
		return true;
	}
</script>
<body>
<table width="1002" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="3"><iframe frameborder="0" scrolling="no" src="head.html" style="width:1002;height:224px;"></iframe></td>
  </tr>
  <tr>
    <td width="228" valign="top" style="background-color:#D1F3FF;"><iframe frameborder="0" scrolling="no" src="left.html" style="width:228;height:864px;"></iframe></td>
    <td width="546" valign="top" style="background-color:#D1F3FF;"><table width="546" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="52" background="images/index_top_1.jpg" style="padding-left:50px;font-size:18px;font-weight:bolder;">正式用户注册</td>
      </tr>
      <tr>
        <td background="images/index_top_3.jpg"><TABLE cellSpacing="0" cellPadding="0" width="546" border="0">
            <TBODY>
              <TR>
                <TD vAlign="top" style="padding-left:30px;padding-right:30px;line-height:20px;"><table width="486" border="0" cellspacing="0" cellpadding="0">
                  <form name="vip_register" id="vip_register" action="register.action" method="post">
                  <input type="hidden" name="user.inte" id="inte" value="0"/><!--积分-->
                  <input type="hidden" name="user.state" id="state" value="1"/><!--状态-->
                  <tr>
                    <td height="30" align="center">登录账号：</td>
                    <td><input type="text" name="user.accounts"  id="accounts" style="width:80px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td height="30" align="center">登录密码：</td>
                    <td><input type="password" name="user.password"  id="password" style="width:120px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td height="30" align="center">确认密码：</td>
                    <td><input type="password" name="user.password2"  id="password2" style="width:120px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td height="30" align="center">真实姓名：</td>
                    <td><input type="text" name="user.name" id="name" style="width:80px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td height="30" align="center">电子邮箱：</td>
                    <td><input type="text" name="user.email" id="email" style="width:150px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td height="30" align="center">联系电话：</td>
                    <td><input type="text" name="user.mobile" id="mobile" style="width:80px;"/> <span style="color:#FF0000;">*</span></td>
                  </tr>
                  <tr>
                    <td colspan="2" align="center"><input type="submit" value=" 注 册 " onClick="return validate()"></td>
                  </tr>
              	  </form>
                </table></TD>
              </TR>
            </TBODY>
        </TABLE></td>
      </tr>

      <tr>
        <td><img src="images/index_top_4.jpg" width="546" height="41"></td>
      </tr>
    </table></td>
    <td width="228" valign="top" style="background-color:#D1F3FF;"><iframe frameborder="0" scrolling="no" src="right.html" style="width:228;height:864px;"></iframe></td>
  </tr>
  <tr>
    <td colspan="3"><iframe frameborder="0" scrolling="no" src="copy.html" style="width:1002;height:99px;"></iframe></td>
  </tr>
</table>
</body>
</html>